﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.WWW.Session.sessionState5" %>
<div style="width:100%; text-align:left">
	<div id="new_body">
		<div id="body_900">
			<div id="body_left"></div>
			<div id="body_main">
				<div class="submenu3"></div>
				<div class="submenuN">
					<div class="submenuN_position">
						<div class="submenuN_title">
							<div class="submenuN_Btitle">
								<h1><%=GetText("Confirm Agreement by the teacher") %></h1>
							</div>
						</div>
					</div>
				</div>
				<div class="Center9001n">
					<div class="Center9001Left">
					</div>
					<div class="Center9001Right">
							<div class="center9001content">
								<div class="teach_area">
									<div>
										<span style="color:#336699; font-size:18px"><%=GetText("TP071")%></span>
									</div>
									<div>
										<div class="floatl" style="width:80px">
											<span class="grey12"><%=GetText("C0115")%></span>
											<div class="teacher_profile">
												<div class="floatl" style="width:60px"><a href="<%=WWWHost %>/<%=sm.SNO %>.htm" title="<%=sm.SNickname %>"><img src="<%=sm.SAvatar==""?"/Images/no_pic.gif":sm.SAvatar %>" width="50" height="50" border="0" /></a></div>
												<div><a href="<%=WWWHost %>/<%=sm.SNO %>.htm"><%=sm.SNickname%></a></div>
												<div class="clear"></div>
											</div>
										</div>
										<div class="floatr" style="width:80px; margin-left:15px">
											<span class="grey12"><%=GetText("C0122")%></span>
											<div class="teacher_profile">
												<div class="floatl" style="width:60px"><a href="<%=WWWHost %>/<%=sm.TNO %>T.htm" title="<%=sm.TNickname %>"><img src="<%=sm.TAvatar==""?"/Images/no_pic.gif":sm.TAvatar %>" width="50" height="50" border="0" /></a></div>
												<div><a href="<%=WWWHost %>/<%=sm.TNO %>T.htm"><%=sm.TNickname%></a></div>
												<div class="clear"></div>
											</div>
										</div>
										<div class="floatr" style="width:80px; margin-left:15px">
											<div class="teacher_profile">
												<div><h2><%if (sm.SessionType == "1")
                       { %><%=sm.CTitle%><%}else{ %><%=GetText("One-on-one tutoring") %>
                                                    <%} %></h2></div>
											</div>
										</div>
										<div class="clear"></div>
									</div>
									<div class="teacher_profile margin20">
										<div style="margin-top:10px; border:1px #eee solid; background-color:#fff; padding:5px">
											<table width="590" border="0" cellspacing="1" cellpadding="5" align="center">
											<%if(sm.SessionType == "1"){ %>
												<tr>
													<td valign="top">Which lesson?</td>
													<td><span >Lesson <%=sm.LChapter%> <%=sm.LTitle%></span></td>
													<td align="right" valign="top"></td>
												</tr>
												<%} %>
												<tr>
												<td><%=GetText("Languages") %></td>
												<td> 
                                                   <p> <%=GetText("Language taught:") %><%=sm.LanguageLearn%></p>
                                                    <p><%=GetText("Base Language:") %><%=sm.BaseLanguage %></p>
                                                </td>
												<td></td>
												</tr>
												<tr>
													<td valign="top" colspan="2"><%=GetText("Tuition Day & Time the student requested") %>
													<p><strong>Day & Time:</strong><%=dt.ToString("MMM d, yyyy", new System.Globalization.CultureInfo(Lx.Web.Common.UI.Globals.Language)) %>
													<%=dt.ToString("HH:mm") %>(<%=GetTimezoneText(Timezone)%>)</p>
													<p><strong>Time Length:</strong><%=(double)sm.LongTime / 2 %>/hour</p>
		                                             </td>
													<td align="right" valign="top"></td>
												</tr>
												<tr>
												<td>Price</td>
												<td>€ <%=sm.Price.ToString("N") %>/hour</td>
												<td></td>
												</tr>
												<tr>
												<td>Total Price</td>
												<td>€ 15  ≈ $ 22.11 (Currency Converter: Yahoo! / Google)</td>
												<td></td>
												</tr>
												<tr>
													<td valign="top">Using?</td>
													<td><p><%=Getimtx(int.Parse(sm.TeachTool))%>(<%=sm.AudioType == "2" ? "Audio/Video" : "Audio only"%>)</p>
													<p><%=GetText("Student:") %> <%=IMAccount.Split('\n')[0] %></p>
													<p><%=GetText("Teacher: ") %> <%=IMAccount.Split('\n')[1] %></p>
													</td>
													<td align="right" valign="top"></td>
												</tr>
												<tr>
												<td colspan="3">
													<div style="text-align:center; margin:10px 0px 0px 0px">
														<div class="agreement_stu">
															<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
																<tr>
																<td width="30">&nbsp;</td>
																<td><h4><a href="" target="_blank">Terms of Service</a></h4>
																<p>I (student) understand that if the teacher agrees to the terms I have outlined above, I agree for italki to bill my account.<br />If I do not have enough credit in my italki account, I will send payment immediately.</p>
																</td>
																</tr>
																<tr>
																<td colspan="2"><input id="agree" type="checkbox" value=""  />&nbsp;<strong>I agree to all of these terms</strong><span style="color: Red;display:none" id="Sagree"><br /><%=GetText("Select the radio box.") %></span></td>
																</tr>
															</table>
														</div>
													</div>
												</td>
												</tr>
											</table>
										</div>
									</div>
									<h3>Message</h3>
									<p><textarea id="txtCommInput" style="width:625px" rows="3"></textarea></p><span  id="StxtCommInput"  style="color: Red;display:none" class="validMsg"><br /><%=GetText("输入字符太多")%></span>
									<p><input id="btnCommInput" class="button" type="button" value="Save"  onclick="btnsave()"/></p>
								</div>
							</div>
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F"></div>
	</div>
</div>
<script>
var sid=<%=sid %>;
var memberno="<%=Memberno %>";
</script>
